package com.example.cloud.constants;

/**
 * Created by wangtao on 2018/3/2.
 */
public class StateConstants {
    // 用户-工种
    public static final int USER_JOB_DOCTOR = 1;// 医生
    public static final int USER_JOB_NURSE = 2;// 护士
    public static final int USER_JOB_SHOP = 3;// 网店
    public static final int USER_JOB_CUSTOMER = 4;// 客服
    public static final int USER_JOB_SITE = 5;// 现场
    public static final int USER_JOB_FINANCE = 6;// 财务
    public static final int USER_JOB_RECEPTION = 7;// 前台
    public static final int USER_JOB_LOGISTICS = 8;// 后勤
    public static final int USER_JOB_SUPERVISOR = 9;// 主管

    // 请假&调休
    public static final int ATTENDANCE_STATUS_WAIT = 0;// 待审批
    public static final int ATTENDANCE_STATUS_AGREE = 1;// 同意
    public static final int ATTENDANCE_STATUS_REFUSE = 2;// 拒绝
    public static final int ATTENDANCE_STATUS_RELAXATION = 3;// 已调休
    public static final int ATTENDANCE_RECORD_TYPE_LEAVE = 1;// 请假记录
    public static final int ATTENDANCE_RECORD_TYPE_RELAXATION = 2;// 调休记录


    // 预约-状态
    public static final int RESERVATION_STATUS_NEW = 0;// 已预约
    public static final int RESERVATION_STATUS_RETURN = 1;// 已回访
    public static final int RESERVATION_STATUS_ARRIVED = 2;// 已到场
    public static final int RESERVATION_STATUS_ADMISSION = 3;// 已接诊
    public static final int RESERVATION_STATUS_COMPLETE = 4;// 已完成
    public static final int RESERVATION_STATUS_CANCEL = 5;// 已取消
    public static final int RESERVATION_STATUS_SUPPORTED = 6;// 被支持

    // 预约-处理类型
    public static final int RESERVATION_PROCESS_PHONE = 1;// 电话随访
    public static final int RESERVATION_PROCESS_ARRIVAL = 2;// 预约到店

    // 预约-记录类型
    public static final int RESERVATION_RECORD_TYPE_RESERVATION = 0;// 预约记录
    public static final int RESERVATION_RECORD_TYPE_SUPPORT = 1;// 支持记录

    // 治疗方案
    public static final int EXECUTE_TREAT_TYPE_ONE = 1; // 单次
    public static final int EXECUTE_TREAT_TYPE_COURSE = 2; // 长期
    public static final int EXECUTE_TREAT_TYPE_HOME = 3; // 病房
    public static final int EXECUTE_ITEM_TYPE_PROJECT = 1;// 项目
    public static final int EXECUTE_ITEM_TYPE_PRODUCT = 2;// 产品

    // 收费明细
    public static final int CHARGE_BUSINESS_TYPE_ONE = 1; // 单次收费
    public static final int CHARGE_BUSINESS_TYPE_COURSE = 2; // 长期收费
    public static final int CHARGE_BUSINESS_TYPE_HOME = 3; // 病房收费
    public static final int CHARGE_BUSINESS_TYPE_SURGICAL = 4; // 外科收费
    public static final int CHARGE_CHARGE_TYPE_PROJECT = 1; // 项目
    public static final int CHARGE_CHARGE_TYPE_PRODUCT = 2; // 产品
    public static final int CHARGE_CHARGE_TYPE_COURSE = 3; // 疗程
    public static final int CHARGE_CHARGE_TYPE_HOME = 4; // 病房
    public static final int CHARGE_CHARGE_TYPE_SURGICAL = 5; // 外科
    public static final int CHARGE_CHARGE_TYPE_COURSE_PRODUCT = 6; // 产品疗程
    public static final int CHARGE_CHARGE_TYPE_SERVICE_PROJECT = 3; // 服务项目

    public static final int PRODUCT_IS_DRUG_NO = 0; // 非药品
    public static final int PRODUCT_IS_DRUG_YES = 1; // 药品

    public static final int PRODUCT_TOXIC_NO = 0; // 非毒麻药
    public static final int PRODUCT_TOXIC_YES = 1; // 毒麻药

    public static final int PRODUCT_INJECT_NO = 0; // 非注射
    public static final int PRODUCT_INJECT_YES = 1; // 注射

    public static final int CATEGORY_TYPE_BIG = 1; // 大类
    public static final int CATEGORY_TYPE_SMALL = 2; // 小类

    // 消费记录状态
    public static final int CONSUME_RECORD_PAYMENT_TYPE_PAY = 1; // 正常交费
    public static final int CONSUME_RECORD_PAYMENT_TYPE_MAKE_UP = 2; // 欠费补交

    // 付费状态
    public static final int CHARGE_STATUS_NO = 0; // 未付款
    public static final int CHARGE_STATUS_YES = 1; // 已付款

    // 执行状态
    public static final int EXECUTE_STATUS_NO = 0; // 未执行
    public static final int EXECUTE_STATUS_YES = 1; // 已执行

    // 治疗类型
    public static final int TREAT_TYPE_COURSE_DETAILS = 1; // 疗程明细
    public static final int TREAT_TYPE_COURSE_PRODUCT = 2; // 疗程产品
    public static final int TREAT_TYPE_HOME_PROJECT = 3; // 病房项目
    public static final int TREAT_TYPE_HOME_PRODUCT = 4; // 病房产品

    // 待划扣
    public static final int WAIT_PAYMENT_TREAT_TYPE_COURSE = 1; // 疗程
    public static final int WAIT_PAYMENT_TREAT_TYPE_HOME = 2; // 病房

    // 抵扣状态
    public static final int DEDUCT_STATUS_NO = 0; // 未抵扣
    public static final int DEDUCT_STATUS_YES = 1; // 已抵扣

    // 库存状态
    public static final int INVENTORY_FLAG_NO = 0; // 未生成
    public static final int INVENTORY_FLAG_YES = 1; // 已生成

    // 商品形态
    public static final int NORMAL_FLAG_NORMAL = 0; // 正常品
    public static final int NORMAL_FLAG_ABNORMAL = 1; // 异常品

    // 充值金额来源
    public static final int SOURCE_MEDICAL_SYSTEM = 1; // 病案系统
    public static final int SOURCE_WECHAT_APP = 2; // 微信小程序

    // 预约类型
    public static final int RESERVATION_TYPE_OLD = 1; // 复诊预约
    public static final int RESERVATION_TYPE_NEW = 2; // 新诊预约

    public static final int RESERVATION_REMIND_SMS = 1; // 短信
    public static final int RESERVATION_REMIND_WECHAT = 2; // 微信
    public static final int RESERVATION_REMIND_PHONE = 3; // 电话

    // 会员类型
    public static final int IS_MEMBER_NO = 0; // 非会员
    public static final int IS_MEMBER_YES = 1; // 会员

    public static final int IS_LOGISTICS_NO = 0; // 非后勤
    public static final int IS_LOGISTICS_YES = 1; // 后勤

    public static final int NO = 0; // 不是
    public static final int YES = 1; // 是

    public static final int WORK_ORDER_STATUS_NEW = 0; // 待受理
    public static final int WORK_ORDER_STATUS_PROCESS = 1; // 处理中
    public static final int WORK_ORDER_STATUS_PROCESSED = 2; // 已处理
    public static final int WORK_ORDER_STATUS_COMPLETE = 3; // 已完成

    public static final int TIME_COMPLETE_YES = 1; // 按时完成
    public static final int TIME_COMPLETE_NO = 2; // 超时完成

    public static final int COMPLAINT_RECORD_TYPE_NEW = 1; // 现病史
    public static final int COMPLAINT_RECORD_TYPE_OLD = 2; // 既往史

    public static final int SKIN_DIAGNOSIS_TYPE_DIAGNOSIS = 1; // 皮肤病诊断
    public static final int SKIN_DIAGNOSIS_TYPE_PROBLEM_SKIN = 2; // 问题皮肤
    public static final int SKIN_DIAGNOSIS_TYPE_PROBLEM_YOUNGER = 3; // 皮肤年轻化

    public static final int AUTO_PRINT_NO = 0; // 不自动打印
    public static final int AUTO_PRINT_YES = 1; // 自动打印

    public static final int PRINT_PAY_TYPE_PAYMENT = 0; // 打印缴费小票
    public static final int PRINT_PAY_TYPE_MAKE = 1; // 打印补交小票

    public static final int HOME_STATUS_ACTIVE = 0; //激活
    public static final int HOME_STATUS_FREEZE = 1; //冻结

    public static final int HOME_DETAILS_STATUS_PROCESS = 0; // 进行中
    public static final int HOME_DETAILS_STATUS_COMPLETE = 1; // 已完成
    public static final int HOME_DETAILS_STATUS_STOP = 2; // 已停止
    public static final int HOME_DETAILS_STATUS_REPLACE = 3; // 已更换

    public static final int PLAN_TYPE_BASIC = 1; // 基本方案
    public static final int PLAN_TYPE_OPTIONAL = 2; // 可选方案

    public static final int RECORD_TYPE_RECHARGE = 1; // 充值记录
    public static final int RECORD_TYPE_GIFT = 2; // 赠送记录
    public static final int RECORD_TYPE_CONSUME = 3; // 消费记录
    public static final int RECORD_TYPE_DEDUCT = 4; // 划扣记录
    public static final int RECORD_TYPE_MAKE = 5; // 补交记录

    public static final int STATUS_ACTIVE = 0; //激活
    public static final int STATUS_FREEZE = 1; //冻结

    public static final int MENU_TYPE_MENU = 1;// 菜单
    public static final int MENU_TYPE_BUTTON = 2;// 按钮

    public static final int MESSAGE_TYPE_REFRESH = -1;// 刷新
    public static final int MESSAGE_TYPE_SELF = 0;// 自己
    public static final int MESSAGE_TYPE_PUBLIC = 1;// 公共
    public static final int MESSAGE_TYPE_PRIVATE = 2;// 私聊
    public static final int MESSAGE_TYPE_SYSTEM = 3;// 系统

    public static final int WAIT_TREAT = 0;// 等待治疗
    public static final int TREATING = 1;// 治疗中
    public static final int TREAT_COMPLETE = 2;// 治疗完成
}
